/**
 * 该文件专门为Count组件生成action对象
 */

import { Increment,Decrement } from "./constant.js";

export function createIncrementAction(data){
    return {
        type:Increment,
        data
    };
};
export function createDecrementAction(data){
    return {
        type:Decrement,
        data
    };
};